% if not tags == None and not tags == [] :
	<div class="widget widget-tag-cloud">
		<h3 class="widget-header">标签</h3>
		<div class="widget-content">
			<ul class="unstyled inline">
			     % for tag in tags:
				     <li class="rank-{{ tag.rank }}"><a href="{{ config.search_url }}?type=tag&value={{ tag.name }}&start={{ config.start }}&limit={{ config.limit }}">{{ tag.name }} </a></li>
				 % end
			</ul>
		</div>
	</div>
% end
